package po

/*
   @author:zhongyang
   @date:2023/4/5
   @description:计划报告数据库对象
*/

type PlanReportPO struct {
	ReportId   string `gorm:"column:report_id;type:varchar(36);primary_key;comment:报告id" json:"report_id"`
	PlanId     string `gorm:"column:plan_id;type:varchar(36);comment:计划id;NOT NULL" json:"plan_id"`
	PlanName   string `gorm:"column:plan_name;type:varchar(255);comment:计划名;NOT NULL" json:"plan_name"`
	FinishDate string `gorm:"column:finish_date;type:varchar(10);comment:完成日期;NOT NULL" json:"finish_date"`
	IsOverTime int64  `gorm:"column:is_over_time;type:tinyint(4);comment:是否超时 1-超时 2-未超时;NOT NULL" json:"is_over_time"`
	ExpectDay  int64  `gorm:"column:expect_day;type:int(11);comment:预计天数;NOT NULL" json:"expect_day"`
	RealDay    int64  `gorm:"column:real_day;type:int(11);comment:实际天数;NOT NULL" json:"real_day"`
	TaskTotal  int64  `gorm:"column:task_total;type:int(11);comment:任务总数;NOT NULL" json:"task_total"`
}

func (m *PlanReportPO) TableName() string {
	return "mine_plan_report"
}
